package com.fz.entity;

    import java.math.BigDecimal;
    import com.baomidou.mybatisplus.annotation.IdType;
    import com.baomidou.mybatisplus.annotation.TableId;
    import java.time.LocalDateTime;
    import java.io.Serializable;
    import lombok.Data;
    import lombok.EqualsAndHashCode;
    import lombok.experimental.Accessors;

/**
* <p>
    * 
    * </p>
*
* @author 帅超
* @since 2020-06-19
*/
    @Data
        @EqualsAndHashCode(callSuper = false)
    @Accessors(chain = true)
    public class Order implements Serializable {

    private static final long serialVersionUID = 1L;

            @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

            /**
            * 创建日期
            */
    private LocalDateTime createDate;

            /**
            * 创建人id
            */
    private Integer createrId;

            /**
            * 收货地址
            */
    private String address;

            /**
            * 收货人电话
            */
    private String telephone;

            /**
            * 状态0默认 1已付款 2已收货
            */
    private String status;

            /**
            * 订单总金额
            */
    private BigDecimal totalPrice;


}
